﻿using SH.Common.CommonReturn;
using SH.Common.DataDictionary;
using SH.Room.Domain.RoomClass;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Room.Application.IServices.IRoomNum
{
    public interface IRoomNumServices:IBaseServices<RoomNum>
    {
        //房号添加
        ApiResult<int> RoomNumAdd(RoomNumDto roomNumDto);

        //房号显示查询分页
        ApiPaging<List<RoomNumListDto>> GetRoomNumList(int rtid,string? roomNumber,int pageIndex,int pageSize);

        //房号删除
        ApiResult<int> DeleteRoomNumber(int roomId);

        //房号批量删除
        ApiResult<int> BatchDelRoomNum(List<RoomNum> roomNum);

        //字典显示
        List<Dic> GetDicList(string Identification);

        //修改房号状态
        ApiResult<int> UpdState(int roomid,bool state);

        //房号反填
        RoomNum GetFindRoomNum (int roomId);

        //房号修改
        ApiResult<int> UpdRoomNum(RoomNumUpdDto roomNumUpdDto);
    }
}
